<html>

<head>
    <meta charset="UTF-8">
    <title>jquery md5 test</title>
    <script type="text/javascript" src="static/js/jquery.min.js"></script>
    <script type="text/javascript" src="static/js/jquery.md5.js"></script>
    <script type="text/javascript">
        $(function() {
            $("#btn").click(function() {
                txt = $("#code").val();
                result = $.md5(txt);
                $("#r").text(result);
            })
        });
    </script>
</head>

<body>
    <div id="box">
        <input id="code" name="code" type="text" /> <input type="button" name="btn" id="btn" value="md5" />
        <br>
        <span id="r"></span>
    </div>

</body>

</html>

http://qingshanboke.com/Article/Info/jquery+%E5%AE%9E%E7%8E%B0%E6%BB%9A%E5%8A%A8%E6%9D%A1%E4%B8%8B%E6%8B%89%E6%97%B6%E6%97%A0%E9%99%90%E5%8A%A0%E8%BD%BD http://www.imooc.com/article/9261 https://www.janecc.com/jquery-ias-js.html http://www.oschina.net/news/29428/10-aggressively-used-jquery-infinite-scroll-plugins
http://www.jq22.com/jquery-info279